/*
 * MahasiswaDao.java
 *
 * Created on June 18, 2007, 8:20 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package latihanibatis.dao;

import com.ibatis.dao.client.Dao;
import java.util.List;
import java.util.Map;
import latihanibatis.domain.Mahasiswa;

/**
 *
 * @author javamaniac
 */
public interface MahasiswaDao extends Dao {
    
    public void insertMhs(final Mahasiswa mhsBaru);
    public void updateMhs(final Map arrUpdate);
    public int deleteMhs(final int prmNIM);
    
    // Query
    public List selectAllMhs();
    public Mahasiswa selectMhsByNim(final int prmNIM);
    public List searchMhs(final Map searchKeyword);
}
